Systems and methods for performing replication copy storage operations

ABSTRACT

A system and method are provided for performing storage operations relating to a first secondary copy of electronic data. A storage policy or storage preferences may dictate that a replication copy should be used in storage operations performed to a particular client, sub-client, data, media or other item. Based on the storage policy, when a new client, sub-client, data, media or other item is received, a media agent determines whether there is a replication copy of the item. In the absence of a replication copy, one may be created. The replication copy may be provided by a third party application, or created by the client or a storage management system component. Information regarding the replication copy and its corresponding first secondary copy may be stored in a database. To optimize use of system resources, storage operations relating to the first secondary copy may be performed using the replication copy instead of the first secondary copy.

RELATED APPLICATION

Any and all applications for which a foreign or domestic priority claim is identified in the Application Data Sheet, or any correction thereto, are hereby incorporated by reference into this application under 37 CFR 1.57.

COPYRIGHT NOTICE

A portion of the disclosure of this patent document contains material that is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent document or the patent disclosures, as it appears in the Patent and Trademark Office patent files or records, but otherwise expressly reserves all other rights to copyright protection.

BACKGROUND

1. Field of the Invention

The invention disclosed herein relates generally to performing storage operations on electronic data in a computer network. More particularly, the present invention relates to using a replication copy or other copy of primary storage production data for performing storage operations.

2. Description of the Related Art

Current storage management systems employ a number of different methods to perform storage operations on electronic data. For example, data can be stored in primary storage as a primary copy or in secondary storage as various types of secondary copies including, a backup copy, a snapshot copy, a hierarchical storage management copy (“HSM”), as an archive copy, and as other types of copies.

A primary copy of data is generally a production copy or other “live” version of the data which is used by a software application and is generally in the native format of that application. Primary copy data may be maintained in a local memory or other high-speed storage device that allows for relatively fast data access if necessary. Such primary copy data is typically intended for short term retention (e.g., several hours or days) before some or all of the data is stored as one or more secondary copies, for example to prevent loss of data in the event that a problem occurred with the data stored in primary storage.

Secondary copies include point-in-time data and are typically intended for long-term retention (e.g., weeks, months or years depending on retention criteria, for example, as specified in a storage policy as further described herein) before some or all of the data is moved to other storage or discarded. Secondary copies may be indexed so that users can browse and restore the data at another point in time. After certain primary copy data is migrated to secondary storage, a pointer or other location indicia such as a stub may be placed in the primary copy to indicate the current location of that data.

In conventional storage management systems, a secondary copy is typically produced by performing a storage operation, such as a backup, of production data, such as a primary copy. Creating such secondary copies typically requires taking the production data or primary copy offline so that it is inaccessible or unavailable to a client or other system component. In general, it is preferable to avoid taking a primary copy, and any components associated therewith, offline, however, if it is unavoidable, it is preferable to minimize the duration that the copies or components are offline. Storage operations that require the primary copy are typically scheduled overnight when the primary copy is less likely to be used by a client, which typically accesses the primary copy during daytime hours. Thus, the primary copy may often be unavailable, or access to the primary copy may be difficult to provide because it is frequently in use. In addition, storage management system components using the primary copy for storage operations may also be unavailable to perform other concurrent storage operations. Such systems may encounter bottlenecks in allocation of system resources to perform storage operations.

SUMMARY

Systems and methods are provided for performing a storage operation using a replication copy or other data source. In one embodiment, a method for performing a storage operation using a replication copy is provided in which a data item for a storage operation is identified, a storage policy associated with the data item is identified, and a data source of the data item may be determined to be available. The data source for performing the storage operation may be selected according to a criterion and the storage operation may be performed. The data source may be a first secondary copy or a replication copy. In general, the data source is determined by consulting a schedule of storage operations involving the data source. A storage manager or other system component may select the data source according to a criterion by calculating a metric weighing one or more priorities for storage operation preferences.

In another embodiment, a method for performing a storage operation using a replication copy is provided, in which a storage operation instruction is received. The storage operation instruction may include data identifying a data item with which to perform the storage operation. A storage policy may be received. The storage policy may indicate that a storage operation relating to the data item should be performed using a replication copy. The replication copy may be determined to be available and the storage operation may be performed using the replication copy.

In another embodiment, a method for optimizing storage operations in a storage management system is provided, in which, a storage operation request is received, the storage operation request identifying a data item with which to perform the storage operation. A database may be consulted to determine whether a replication copy of the data item is available. Using the replication copy of the data item to perform the storage operation may be determined to optimize resource use in the storage management system; and the storage operation may be performed using the replication copy.

In another embodiment, a storage management system for performing a storage operation, is provided including a storage management component communicatively coupled to a database; wherein the database includes a storage policy; a media agent communicatively coupled to the storage management component, a first secondary copy and a replication copy; wherein the storage management component is programmed to receive a storage operation request relating to the first secondary copy, consult the database to identify the replication copy that corresponds to the first secondary copy, and determine whether using the replication copy to perform the storage operation optimizes use of system resources; and wherein the media agent is programmed to perform the storage operation using the replication copy.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention is illustrated in the figures of the accompanying drawings which are meant to be exemplary and not limiting, in which like references are intended to refer to like or corresponding parts, and in which:

FIG. 1A is a block diagram of a storage management system for creating a replication copy according to an embodiment of the invention;

FIG. 1B is a diagram of a log and a file according to an embodiment of the invention;

FIG. 2 is a block diagram of a storage management system according to an embodiment of the invention;

FIG. 3 is a high level block diagram of a storage management system according to an embodiment of the invention;

FIG. 4 is a storage operation schedule according to an embodiment of the invention;

FIG. 5 is a database table for tracking copy volumes according to an embodiment of the invention; and

FIG. 6 is a flow diagram of a method for performing a storage operation according to an embodiment of the invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

Systems and methods are provided herein for performing a storage operation using a replication copy. A replication copy may be a copy of a first secondary copy of production data (e.g., a primary volume), but may also be a copy of production data or a primary copy. A first secondary copy is an initial or first secondary copy of production data, or some other initial copy of the primary volume. The first secondary copy may be considered for data storage management purposes to include the same data as a primary copy. The first secondary copy may be stored to primary storage, which is a storage medium which provides relatively faster access than secondary storage, however, secondary storage medium may also be used for the first secondary copy. The first secondary copy may alternatively refer to any copy of electronic data which may be frequently accessed by one or more system components for client use or storage operation purposes, and for which utilization may need to be restricted, e.g., to avoid bottlenecks, to avoid interrupting client use, etc. In this case, the first secondary copy may be considered equivalent to a primary copy in that storage management systems may wish to minimize system utilization of the first secondary copy as it would for a primary copy.

There are several ways to create a replication copy, such as by performing a copy operation, such as a snapshot copy, point in time copy, mirror copy, synchronous replication copy or asynchronous replication copy, or other copy operation. A replication copy is typically made of a first secondary copy and continuously updated. One example of a system for creating a replication copy is shown in FIG. 1A, but other system architectures may be used. As shown in FIG. 1A, a system for creating a replication copy may include system components such as a memory or data store 10, log filter driver 20, primary mass storage 40, logs 30, replication agent 87 and storage manager 100 and storage management index or database 111 and a replication copy 200.

In general, a replication copy 200 may be created at the direction of a replication agent 87, storage manager 100 or other system component, and information relating to the replication copy 200 may be stored in an index 111. The replication agent 87 may obtain the electronic data, such as from production data or a first secondary copy stored in memory 10, for the replication copy continuously via one or more data streams, or use logs 30 which include a production data log or change information obtained by the log filter driver 20, to update a replication copy periodically. The replication agent 87 may communicate with the log filter driver 20 to acknowledge receipt of logs 31 from a logs store or cache 30 or directly from the logs filter driver 20, and confirm that the replication copy 200 is updated with the received logs 31.

Memory 10 may be a data store which is attached to a client or other data generator or data producer and which is capable of storing electronic data, such as production data or a first secondary copy, etc. A log filter driver 20 may be a module which monitors an interaction or change of electronic data in memory 10. The log filter driver 20 may be programmed to monitor particular or specific data changes, such as changes to a sub-client, application type, client folder, or other aspect of electronic data. Referring to FIG. 1B, the interaction or change may be stored in a log 31 which includes metadata, such as a file ID 32 and offset 34 and the changed data payload 36. A file ID 32 may be any file identifier and may correspond to a file 35. The offset 34 is the point at which the change to the file data occurs. Payload 36 typically includes the changed data. Thus, the file log 31 relates to the file 35 in that the payload 36 of the log 31 fits in the file 35 at a certain offset point, for example, between portions of the file 38A and 38B.

Referring again to FIG. 1A, the log filter driver 20 monitors the production data stored in memory 10 for interactions or changes to the electronic data and when a change occurs, the log filter driver 20 creates a log, such as log 31, which is stored in logs 30. A log file 31 may be cached temporarily in logs 30 or transmitted immediately to the replication copy 200 for updating the replication copy 200. Logs 30 may be any data store capable of storing the logs 31 generated by the log filter driver 20, and is generally in communication with a replication agent 87, replication copy 200, or other system component. The log filter driver 20 may also create logs 31 which may be used to create a primary copy or first secondary copy, stored in mass storage 40. The mass storage 40 may be any data store capable of storing electronic data, such as a primary copy, first secondary copy or other copy.

FIG. 2 illustrates a block diagram of a storage operation cell 80 that may perform storage operations on electronic data in a computer network in accordance with an embodiment of the present invention. As shown, storage operation cell 80 may generally include a storage manager 100, a data agent 95, a media agent 105, a storage device 115, and, in some embodiments, may include certain other components such as a client 85, a replication agent 87, a data or information store 90, databases or indexes 110 and 111, jobs agent 120, an interface module 125, and a management agent 130. Such system and elements thereof are exemplary of a modular storage management system such as the CommVault QINETIX system, and the CommVault GALAXY storage management system, available from CommVault Systems, Inc. of Oceanport, N.J., and further described in U.S. patent application Ser. No. 09/610,738 which is incorporated herein by reference in its entirety. A storage operation cell, such as cell 80, may generally include combinations of hardware and software components associated with performing storage operations on electronic data.

In accordance with certain embodiments of the present invention, storage operations performed by storage operation cells may include creating, storing, retrieving, and migrating primary data copies and secondary data copies (which may include, for example, snapshot copies, backup copies, HSM copies, archive copies, and other types of copies of electronic data). In some embodiments, storage operation cells may also provide one or more integrated management consoles for users or system processes to interface with in order to perform certain storage operations on electronic data as further described herein. Such integrated management consoles may be displayed at a central control facility or several similar consoles distributed throughout multiple network locations to provide global or geographically specific network data storage information.

In some embodiments, storage operations may be performed according to a storage policy. A storage policy is generally a data structure or other information source that includes a set of preferences and other storage criteria for performing a storage operation. The preferences and storage criteria may include, but are not limited to, a storage location, relationships between system components, relationships between system components and use of a third party application, network pathway to utilize, retention policies, data characteristics, compression or encryption requirements, preferred system components to utilize in a storage operation, and other criteria relating to a storage operation. Thus, a storage policy may indicate that certain data is to be stored in a specific storage device, retained for a specified period of time before being aged to another tier of secondary storage, copied to secondary storage using a replication copy or a specified number of streams, etc. A storage policy may be stored to a storage manager database or index 111, to archive media as metadata for use in restore operations or other storage operations, or to other locations or components of the system.

A schedule policy may specify when and how often to perform storage operations and may also specify performing certain storage operations on sub-clients of data and how to treat those sub-clients. A sub-client may represent static or dynamic associations of portions of data of a volume and are mutually exclusive. Thus, a portion of data may be given a label and the association is stored as a static entity in an index, database or other storage location used by the system. Sub-clients may also be used as an effective administrative scheme of organizing data according to data type, department within the enterprise, storage preferences, etc. For example, a sub-client may be all media in an associated storage device and the sub-client is associated with a storage policy which requires that a replication copy be created or provided to perform secondary storage operations.

Storage operation cells may contain not only physical devices, but also may represent logical concepts, organizations, and hierarchies. For example, a first storage operation cell 80 may be configured to perform a storage operation, such as data backup or other types of data migration, and may include a variety of physical components including a storage manager 100 (or management agent 130), a media agent 105, a client component 85, and other components as described herein. A second storage operation cell may contain the same or similar physical components, however, it may be configured to perform other storage operations, such as monitoring a primary copy, first secondary copy, or replication copy volume or performing other known storage operations.

A storage preference may be a storage policy, user preference or other storage preference. In some embodiments the storage preference is defined by a system user or system administrator. In other embodiments, the storage preference is a default preference. Examples of storage preferences can include: using a particular data source for performing a storage operation, such as a replication copy, assigning priorities to performance of a storage operation, data security settings, encryption settings, data retention requirements, frequency of storage operations, such as frequency of backups, types of data for storage operations, such as data types for backups, types of storage operations to perform in the component group, network pathways, such as preferred network pathways to perform a storage operation, scheduling, such as a schedule of storage operations, reports, such as automatic generation of system reports regarding the group, which can include, for example the storage operations performed by the group, or other storage preference.

Replication agent 87 may be a software module or part of a software module that may be used to manage and direct creation and maintenance of a replication copy 200. For example, a replication agent 87 may communicate or direct communication of electronic data, such as production data for creating a replication copy 200. The replication copy 200 may be created synchronously or asynchronously, using a mirror, or other copy technique. The replication agent 87 may be a software module associated with a client 85 that generates the production data used to create replication copy 200. Alternatively, replication agent 87 may be provided by a third party software component which may interface with a client 85 and production data in, for example, data store 90, to create replication copy 200.

Data agent 95 may be a software module or part of a software module that is generally responsible for archiving, migrating, and recovering data from client computer 85 stored in an information store 90, or other memory location. Each client computer 85 may have at least one data agent 95 and the system can support multiple client computers 85. In some embodiments, data agents 95 may be distributed between client 85 and storage manager 100 (and any other intermediate components (not shown)) or may be deployed from a remote location or its functions approximated by a remote process that performs some or all of the functions of data agent 95.

Embodiments of the present invention may employ multiple data agents 95 each of which may backup, migrate, and recover data associated with a different application. For example, different individual data agents 95 may be designed to handle MICROSOFT EXCHANGE data, LOTUS NOTES data, MICROSOFT WINDOWS 2000 file system data, MICROSOFT ACTIVE DIRECTORY OBJECTS data, and other types of data known in the art. Other embodiments may employ one or more generic data agents 95 that can handle and process multiple data types rather than using the specialized data agents described above.

Generally speaking, storage manager 100 may be a software module or other application that coordinates and controls storage operations performed by storage operation cell 80. Storage manager 100 may communicate with some or all elements of storage operation cell 80 including client computers 85, data agents 95, media agents 105, and storage devices 115, to initiate and manage system storage operations.

Storage manager 100 may include a jobs agent 120 that monitors the status of some or all storage operations previously performed, currently being performed, or scheduled to be performed by storage operation cell 80. Jobs agent 120 may be communicatively coupled with an interface agent 125 (typically a software module or application). Interface agent 125 may include information processing and display software, such as a graphical user interface (“GUI”), an application program interface (“API”), or other interactive interface through which users and system processes can retrieve information about the status of storage operations. Through interface 125, users may optionally issue instructions to various storage operation cells 80 regarding performance of the storage operations as described and contemplated by the present invention. For example, a user may modify a schedule concerning the number of pending snapshot copies or other types of copies scheduled as needed to suit particular needs or requirements. As another example, a user may employ the GUI to view the status of pending storage operations in some or all of the storage operation cells in a given network or to monitor the status of certain components in a particular storage operation cell (e.g., the amount of storage capacity left in a particular storage device). As a further example, interface 125 may display the cost metrics associated with a particular type of data storage and may allow a user to determine overall and target cost metrics associated with a particular data type, or certain storage operation cell 80 or other storage operation as predefined or user-defined.

Storage manager 100 may also include a management agent 130 that is typically implemented as a software module or application program. In general, management agent 130 provides an interface that allows various management components 100 in other storage operation cells 80 to communicate with one another. For example, assume a certain network configuration includes multiple cells 80 adjacent to one another or otherwise logically related in a WAN or LAN configuration (not shown). With this arrangement, each cell 80 may be connected to the other through each respective interface module 125. This allows each cell 80 to send and receive certain pertinent information from other cells 80 including status information, routing information, information regarding capacity and utilization, etc. These communication paths may also be used to convey information and instructions regarding storage operations.

Storage manager 100 may also maintain an index cache, a database, or other data structure 111. The data stored in database 111 may be used to indicate logical associations between components of the system, user preferences, management tasks, some SRM or HSM data or other useful data. As further described herein, some of this information may be stored in a media agent database 110 or other local data store according to some embodiments. For example, the storage manager 100 may use data from database 111 to track logical associations of primary copies of data, first secondary copies of data and corresponding replication copies, between media agents 105 and storage devices 115 or between other components of the system.

Generally speaking, a media agent 105 may be implemented as a software module that conveys data, as directed by a storage manager 100, between a client computer 85 and one or more storage devices 115 such as a tape library, a magnetic media storage device, an optical media storage device, or any other suitable storage device. In one embodiment, media agents 105 may be communicatively coupled with and control a storage device 115 associated with that particular media agent. A media agent 105 may be considered to be associated with a particular storage device 115 if that media agent 105 is capable of routing and storing data to a particular storage device 115.

In operation, a media agent 105 associated with a particular storage device 115 may instruct the storage device to use a robotic arm or other retrieval means to load or remove a certain storage media, and to subsequently archive, migrate, or restore data to or from that media. Media agents 105 may communicate with a storage device 115 via a suitable communications path such as a SCSI or fiber channel communications link. In some embodiments, the storage device 115 may be communicatively coupled to a data agent 105 via a Storage Area Network (“SAN”).

Each media agent 105 may maintain an index cache, a database, or other data structure 110 which stores index data generated during backup, migration, and restore and other storage operations as described herein. For example, performing storage operations on MICROSOFT EXCHANGE data may generate index data. Such index data provides a media agent 105 or other external device with a fast and efficient mechanism for locating data stored or backed up. Thus, in some embodiments, a storage manager database 111 may store data associating a client 85 with a particular media agent 105 or storage device 115, for example, as specified in a storage policy, while media agent database 110 may indicate where specifically the client 85 data is stored in storage device 115, what specific files were stored, and other information associated with storage of client 85 data. In some embodiments, such index data may be stored along with the data backed up in a storage device 115, with an additional copy of the index data written to index cache 110. The data in index cache 110 is thus readily available for use in storage operations and other activities without having to be first retrieved from the storage device 115.

In some embodiments, certain components may reside and execute on the same computer. For example, in some embodiments, a client computer 85 such as a data agent 95, a media agent 105, or a storage manager 100 coordinates and directs local archiving, migration, and retrieval application functions as further described in U.S. patent application Ser. No. 09/610,738. This client computer 85 can function independently or together with other similar client computers 85.

As described herein, storage operations may be performed by one or more media agents 105 at the direction of a storage manager 100 via the storage manager 100 or directly in communication with a client 85. Employing multiple media agents 105 in a storage system allows flexibility in associating one or more media agents 105 with a client 85, or other component. For example, one media agent 105 may be associated with a first client 85 and perform storage operations in regard to the associated client 85, e.g., using a primary copy of the first client 85, and another media agent 105 may be associated with a second client 85 and perform storage operations in regard with the second client 85, e.g., using a replication copy 200 of the second client 85. Thus, in the event that one or more system components fails or is unavailable, another system component, e.g., a media agent 105, may be used to perform a storage operation.

Referring to FIG. 3, a replication copy 200 of a first secondary copy 90 may be created by a third party application 150 or by cell components such as a media agent 105 b, according to storage policies or at the direction of a storage manager 100. First secondary copy 90 is a first secondary copy or other initial copy of a primary copy 86 of data generated by client 85. First secondary copy 90 may be created via media agent 105 a (which may be the same component as media agent 105 b, or a separate component). As shown in FIG. 3, the replication copy 200 may be coupled to a media agent 105 b and hosted by host 201. Media agent 105 b or replication software on the first secondary copy 90 may be used to create replication copy 200, e.g., using known replication techniques. If the replication copy 200 is created by a third party application 150, the media agent 105 b may interface with the third party application 150 to access the replication copy 200. The third party application 150 may be a software module which may communicate with a media agent 105 and replication copy 200. The media agent 105 may access the replication copy 200 to perform storage operations, such as creating secondary copies stored to secondary storage 200. Although, the media agent 105 may access first secondary copy 90 to perform storage operations, such configuration is not ideal because first secondary copy 90 is preferably free for use by other system components and for other storage operations.

One storage operation that the media agent 105 may perform in connection with the replication copy 200 or first secondary copy 90 is creation of a secondary copy or other backup operation. The media agent 105 may create, in accordance with a storage policy, a secondary copy 220 that may be created using data of a replication copy 200 or first secondary copy 90. In general, a secondary copy 220, such as an auxiliary copy, backup copy, or other copy, is stored to media that is slower than media used to store a first secondary copy 90 and the secondary copy 220 may be created to migrate electronic data to storage, such as at an offsite facility.

A storage policy stored in an index or database 110 or 111 may initiate a secondary copy operation and the media agent 105 may determine which copy to use for the copy operation. For example, the media agent 105 may check network and cell resources, storage policies, job scheduling or other storage characteristic to determine whether the first secondary copy 90 or replication copy 200 should be used. For example, a media agent 105 (or storage manager, jobs agent or other system component) may consult a job schedule, such as a storage operation schedule 250 depicted in FIG. 4. The storage operation schedule 250 may include a schedule or timeline for storage operations performed, currently in operation or scheduled in the future. Information about storage operation scheduling may be obtained from a storage policy, communicated from one or more system components, or provided by a system user or administrator.

In addition, preferences as to use of a replication copy, first secondary copy or other source data may be established for performing a storage operation, for example, in a storage policy or other preference associated with one or more cells, system components, scheduling policy, retention policy, or other preference. A user may set a preference or other criteria which may be used to select a replication copy or first secondary copy to perform a storage operation, or alternatively, a default template setting in a storage policy or other selection criteria, or a user preference may be that new media added to a storage device should use a replication copy in performing a storage operation, or a particular cell may include a client for which a replication copy may be used to perform storage operations, or other storage preference or selection criteria.

As shown, a first storage operation 252 may be scheduled to occur from T.sub.0 to T.sub.2. The first storage operation 252 may be any storage operation and may be associated with a storage policy, storage preference or other criteria which may indicate a preference for using or selecting a first secondary copy or a replication copy to perform the storage operation. During the time period T.sub.0 and T.sub.2, a second storage operation 254 is scheduled to occur from T.sub.1 to T.sub.4. The second storage operation 254 may also be associated with a storage policy or storage preference regarding a copy to use to perform the storage operation. Overlapping with the second storage operation 254, a third storage operation 256 is scheduled for T.sub.3 to T.sub.5. As with the first and second storage operations 252 and 254, respectively, the third storage operation 256 may be associated with one or more storage preferences or a storage policy. Such storage preferences may also include a relative priority weighting for performing the storage operation, and a priority weighting for using a particular copy for performing the storage operation, such as the first secondary copy or replication copy. Weighting each storage preference provides the ability to calculate an overall metric for selection of one or more aspects of performing the storage operation.

A storage manager, jobs agent, media agent or other system component, may consult the storage operation schedule 250 and/or an index to identify criteria for selecting a data source, or determine a priority of or availability to use a first secondary copy or a replication copy for a storage operation. For example, the first storage operation 252 may be associated with a storage preference that indicates that a first secondary copy or a replication copy may be used to perform a storage operation, and have a medium priority level. The second storage operation 254 may be associated with a storage preference that indicates that a first secondary copy is preferably used to perform a storage operation and it has a higher priority than first storage operation 252. The third storage operation 256 may be associated with a storage preference which indicates that a first secondary copy is preferably used to perform a storage operation and has a medium priority level. In such a case, the storage manager (or jobs agent, media agent or other system component) may automatically select a replication copy for performing the first storage operation 252, and a first secondary copy for performing the second storage operation 254. The storage manager may calculate the storage operation priority, other preferences and first secondary copy availability and override the data source preference with respect to the third storage operation 256 and select or allocate the replication copy for use in performing the third storage operation 256 based on selection criteria, for example, the higher priority weighting of the second storage operation 254 and the availability of the first secondary copy which will be in use in the second storage operation 254 at the time the third storage operation 256 is to be initiated.

A media agent 105 may consult a database table in its index 110 or a storage manager index 111 to identify a replication copy 200 that corresponds to a first secondary copy 90. An example of such database table may be the table 305 depicted in FIG. 5. As shown, table 305 includes information useful in performing storage operations, such as network pathways for primary copies 320 and corresponding replication copies 310. For example, first secondary copy 325 at c:/mydocuments/files corresponds to replication copy 345 at F:/mydocuments/files. First secondary copy 330 at c:/programfiles/files, however does not have a corresponding replication copy as shown by the empty record, 350. First secondary copy 335 at c:/database/files corresponds to g:/database/files 355. The table 305 may also include other information about the first secondary copies 320 and replication copies 310 such as a system component associated with each, media type, storage type, data content, data type, or other information. In addition, table 305 may include links or relational pointers between a production data set, primary copy, first secondary copy and a replication copy.

As described herein, using a replication copy to perform a storage operation, which may otherwise be performed using a first secondary copy, frees up the first secondary copy, and any system components that may be associated with the first secondary copy, for other uses. For example, a first media agent may be associated with a particular client and its respective data agent, data store or first secondary copy, and a second media agent may be associated with the same client and a replication copy associated with the client. In this case, the first secondary copy may be used to perform storage operations or other operations in connection with the first media agent, data agent or client, and concurrently, the replication copy could be used by the second media agent to perform a secondary copy operation or other storage operation.

A media agent or other system component may update a table regarding replication copy information, such as the table depicted in FIG. 5, and direct a storage operation according to the flow diagram depicted in FIG. 6. The table provides a convenient reference point for cell components to identify a replication copy associations or information about cell components. The table may be updated continuously as information about a replication copy becomes known to a media agent, storage manager or other cell component, such as a client.

A storage operation request may be received, such as a request to create a secondary copy or other which may include information for identifying data for performing a storage operation, step 410. The storage operation request may be user initiated or automatically initiated in accordance with a storage policy, job schedule, retention policy or other initiator. The storage operation request may include, among other information, data identifying the first secondary copy or corresponding client having source or production data to be used in the storage operation.

A storage policy may be identified that is associated with the data for performing the storage operation, step 420. In general, the storage policy is associated in an index or data table with a data source, such as a client, sub-client, or other system component or data classification. The storage policy may include one or more storage preferences which may indicate a priority for performing a storage operation, one or more criteria for selecting a component, data item, or data source with which to perform a storage operation, or other preference. The storage policy may be user defined, a default template, or other set of preferences.

A storage manager, media agent or other system component may determine whether a replication copy of data is available to perform a storage operation, step 430. In general, the replication copy information may be obtained by a media agent (or other component) by consulting a table, index or database to determine whether there is a replication copy that is associated with a first secondary copy of data targets, such as the identified data for performing the storage operation. Generally, the media agent will check the table for a replication copy if a storage preference or a user preference indicates that a replication copy should be used. However, even if the storage preference does not indicate that a replication copy should be used, a storage policy may have a default setting such that a media agent should determine whether to use a first secondary copy or replication copy in accordance with optimizing system resources, such as, for example, in accordance with availability of system components and network pathways, job scheduling, or other system characteristics, as described herein. Thus, a media agent may check for a replication copy whether or not a storage preference dictates use of a replication copy.

Availability of the replication copy may also include a determination that the replication copy is online or offline, the replication copy is in use for another storage operation, or otherwise available or unavailable. In addition to consulting the table to check for availability, a media agent may ping or communicate with the replication copy to determine if it is online and available.

In the event that no replication copy exists, a media agent or storage manager may direct the storage operation to be performed using a first secondary copy, step 440. Upon performance of the storage operation, the index is updated to reflect the completed storage operation, step 455. The index may be updated to include information about the completed storage operation, such as creation of a secondary copy, and information about the data source, e.g., the first secondary copy.

The media agent or storage manager may also determine whether a lack of a replication copy of data is causing inefficiencies in performing storage operations and may direct that in view of future storage operations, scheduled, or anticipated, for example, based on a storage policy, that a replication copy be produced for all, or particular types or data. For example, a replication copy may be created using a third party application, which may be interfaced directly by a media agent, or alternatively created by the media agent, replication agent, or other systems and methods described herein or known in the art.

If a replication copy exists, e.g., the media agent consults a table and finds a replication copy which is associated with a first secondary copy that is the data source for the storage operation, the media agent (or other system component) may calculate a selection criteria, step 445, for selecting a data source to perform the storage operation. For example, as described herein, a storage operation priority, storage preference, criteria, or other basis may be used to select a replication copy or first secondary copy to perform a storage operation. In one example, a first storage operation may be performed using a first secondary copy, step 440, if a selection criteria indicates that a first secondary copy should be used. For example, a criteria that a storage operation is a high priority storage operation, or concurrent storage operation scheduling, or other criteria, may cause a storage manager to select a first secondary copy to be used for a particular storage operation. In another example, a second storage operation having a medium priority which can use a replication copy may be performed using a replication copy, step 450.

In both scenarios, information about the completed storage operation may be stored to an index, step 455. Although a replication copy may have been used to create a secondary copy, the index may be updated with data indicating that a primary copy or a first secondary copy was used to create a secondary copy. Such an index entry is useful in the event that other components or modules may not recognize that a replication copy as an appropriate data source for creating a secondary copy, which may cause an error or other system failure.

Systems and modules described herein may comprise software, firmware, hardware, or any combination(s) of software, firmware, or hardware suitable for the purposes described herein. Software and other modules may reside on servers, workstations, personal computers, computerized tablets, PDAs, and other devices suitable for the purposes described herein. Software and other modules may be accessible via local memory, via a network, via a browser or other application in an ASP context, or via other means suitable for the purposes described herein. Data structures described herein may comprise computer files, variables, programming arrays, programming structures, or any electronic information storage schemes or methods, or any combinations thereof, suitable for the purposes described herein. User interface elements described herein may comprise elements from graphical user interfaces, command line interfaces, and other interfaces suitable for the purposes described herein. Screenshots presented and described herein can be displayed differently as known in the art to input, access, change, manipulate, modify, alter, and work with information.

While the invention has been described and illustrated in connection with preferred embodiments, many variations and modifications as will be evident to those skilled in this art may be made without departing from the spirit and scope of the invention, and the invention is thus not to be limited to the precise details of methodology or construction set forth above as such variations and modification are intended to be included within the scope of the invention. 

What is claimed is:
 1. A method for performing a storage operation using a replication copy, the method comprising: determining with at least computer hardware that a replication copy is available on a second storage volume, the replication copy comprises a second set of data that is a copy of at least a portion of a first set of data on a first storage volume; based on a priority of a storage operation, automatically selecting with the computer hardware the replication copy to perform the storage operation; performing with the computer hardware, the storage operation on the second set of data associated with the replication copy on the second storage volume rather than the first set of data on the first storage volume; and creating a third set of data based on performing the storage operation on the second set of data.
 2. The method of claim 1 further comprising automatically selecting the first set of data on the first storage volume to perform the storage operation when the storage operation has a higher priority.
 3. The method of claim 1 wherein automatically selecting the replication copy to perform the storage operation when the storage operation has a lower priority.
 4. The method of claim 1 wherein automatically selecting the replication copy to perform the storage operation to perform the storage operation occurs when the storage operation has a medium priority.
 5. The method of claim 1 additionally comprising updating an index to indicate that the storage operation was performed on the first set of data after the storage operation was performed on the replication copy.
 6. The method of claim 1 additionally comprising monitoring changes to the first set of data with a filter driver.
 7. The method of claim 1 additionally comprising generating the replication copy via a snapshot operation.
 8. The method of claim 1 additionally comprising generating the replication copy via a mirroring operation.
 9. The method of claim 1 additionally comprising performing a second storage operation on the first set of data, wherein the second storage operation at least partially overlaps the first storage operation on the second set of data.
 10. The method of claim 1 wherein determining that a replication copy is available further comprises determining if the replication copy is online or offline.
 11. A storage management system configured to perform storage operations, the storage management system comprising: a first storage device that stores a first set of data; a second storage device that stores a replication copy, the replication copy comprises a second set of data that is a copy of at least a portion of the first set of data; a storage manager comprising at least computer hardware that determines whether a replication copy is available on a second storage volume; wherein based on a priority of a storage operation, the storage manager directs the automatic selection of the replication copy to perform of the storage operation; wherein the storage manager directs performance of the storage operation on the second set of data associated with the replication copy on the second storage volume rather than the first set of data on the first storage volume; and create a third set of data based on performing the storage operation on the second set of data.
 12. The system of claim 11 wherein the storage manager directs the automatic selection of the first set of data on the first storage volume to perform the storage operation when the storage operation has a higher priority.
 13. The system of claim 11 wherein the storage manager directs the automatic selection of the replication copy to perform the storage operation when the storage operation has a lower priority.
 14. The system of claim 11 wherein the storage manager directs the automatic selection of the replication copy to perform the storage operation when the storage operation has a medium priority.
 15. The system of claim 11 wherein the storage manager further directs an update to an index to indicate that the storage operation was performed on the first set of data after the storage operation was performed on the replication copy.
 16. The system of claim 11 wherein the storage manager further directs the generation of the second set of data by processing a log file containing a least a portion of the changes monitored by a filter driver.
 17. The system of claim 11 wherein the storage manager further directs generation of the replication copy via a snapshot operation.
 18. The system of claim 11 wherein the storage manager further directs generation of the replication copy via a mirroring operation.
 19. The system of claim 11 wherein the storage manager directs the performance of a second storage operation on the first set of data, wherein the second storage operation at least partially overlaps the first storage operation on the second set of data.
 20. The system of claim 11 wherein determining that a replication copy is available further comprises determining if the replication copy is online or offline. 